import React from 'react'
import history from '../history'
export default ({text}) => {
    return <div className='no-permission my-list'>
            您没有{text}权限，<a onClick={()=>history.push('/role')}>现在申请</a>
          </div>
}